package com.sew.sewweb.api.bean;


import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author Guoan
 * @date 2024/12/9 - 14:59
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "e2系统调用接口生成采购申请书子表信息",description = "对接采购申请书所需子表信息参数")
public class DataDetails {

    @Schema(name = "行号",required = true)
    @JsonProperty("ItemNo")
    String ItemNo;//行号

    @Schema(name = "料号 ",required = true)
    @JsonProperty("PartNo")
    String PartNo;//料号

    @Schema(name = "品名",required = true)
    @JsonProperty("Description")
    String Description;//品名

    @Schema(name = "固定资产预算号",required = true)
    @JsonProperty("InvestmentNo")
    String InvestmentNo;//固定资产预算号

    @Schema(name = "预算金额",required = true)
    @JsonProperty("BudgetAmount")
    String BudgetAmount;//预算金额

    @Schema(name = "备注",required = true)
    @JsonProperty("AdditionalRemark")
    String AdditionalRemark;//备注

    @Schema(name = "可否抵扣",required = true)
    @JsonProperty("Deductable")
    String Deductable;//可否抵扣   1 可抵扣 0 不可抵扣

    @Schema(name = "数量",required = true)
    @JsonProperty("Quantity")
    String Quantity;//数量

    @Schema(name = "单位",required = true)
    @JsonProperty("Unit")
    String Unit;//单位

    @Schema(name = "需求日期",required = true)
    @JsonProperty("RequestedDate")
    String RequestedDate;//需求日期
}
